package com.ruoyi.finish.controller;

import java.util.List;

import com.ruoyi.finish.domain.FinishStudentInfo;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.ruoyi.finish.service.IfinishStudentService;


/**
 * 学生完成审批信息Controller
 * 
 * @author wusihao
 * @date 2023-05-10
 */
@RestController
@RequestMapping("/finishStudent")
public class finishStudentController extends BaseController
{
    @Autowired
    private IfinishStudentService finishStudentService;

    /**
     * 查询学生完成审批信息列表
     */
    @GetMapping("/list/{certApplicationId}")
    public TableDataInfo list(@PathVariable Long certApplicationId)
    {
        startPage();
        List<FinishStudentInfo> list = finishStudentService.selectfinishStudentListBycertApplicationStudentId(certApplicationId);
        return getDataTable(list);
    }


}
